package com.dewod.producesales.model.request;

import com.dewod.producesales.viewmodel.SubmitViewModel;
import com.dewod.producesales.viewmodel.ValidateViewModel4Pdd;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SnSubmit implements Serializable {

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 柜体编号
     */
    private List<String> cabinetSns;

    /**
     * 一体机编号
     */
    private List<String> integratedMacSns;

    /**
     * 锁控板编号
     */
    private List<String> lockCtlBoardSns;


    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public List<String> getCabinetSns() {
        return cabinetSns;
    }

    public void setCabinetSns(List<String> cabinetSns) {
        this.cabinetSns = cabinetSns;
    }

    public List<String> getIntegratedMacSns() {
        return integratedMacSns;
    }

    public void setIntegratedMacSns(List<String> integratedMacSns) {
        this.integratedMacSns = integratedMacSns;
    }

    public List<String> getLockCtlBoardSns() {
        return lockCtlBoardSns;
    }

    public void setLockCtlBoardSns(List<String> lockCtlBoardSns) {
        this.lockCtlBoardSns = lockCtlBoardSns;
    }

    public SnSubmit(SubmitViewModel model){
        this.orderNo = model.orderNo.getValue();
    }

    public SnSubmit(ValidateViewModel4Pdd model){
        this.orderNo = model.orderNo.getValue();
    }
}
